3.4.54 \(\int x^5 \sqrt {a+b x^2} \, dx\) [354]

Optimal. Leaf size=59 \[ \frac {a^2 \left (a+b x^2\right )^{3/2}}{3 b^3}-\frac {2 a \left (a+b x^2\right )^{5/2}}{5 b^3}+\frac {\left (a+b x^2\right )^{7/2}}{7 b^3} \]

[Out]

1/3*a^2*(b*x^2+a)^(3/2)/b^3-2/5*a*(b*x^2+a)^(5/2)/b^3+1/7*(b*x^2+a)^(7/2)/b^3

________________________________________________________________________________________

Rubi [A]
time = 0.02, antiderivative size = 59, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {272, 45} \begin {gather*} \frac {a^2 \left (a+b x^2\right )^{3/2}}{3 b^3}+\frac {\left (a+b x^2\right )^{7/2}}{7 b^3}-\frac {2 a \left (a+b x^2\right )^{5/2}}{5 b^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^5*Sqrt[a + b*x^2],x]

[Out]

(a^2*(a + b*x^2)^(3/2))/(3*b^3) - (2*a*(a + b*x^2)^(5/2))/(5*b^3) + (a + b*x^2)^(7/2)/(7*b^3)

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int x^5 \sqrt {a+b x^2} \, dx &=\frac {1}{2} \text {Subst}\left (\int x^2 \sqrt {a+b x} \, dx,x,x^2\right )\\ &=\frac {1}{2} \text {Subst}\left (\int \left (\frac {a^2 \sqrt {a+b x}}{b^2}-\frac {2 a (a+b x)^{3/2}}{b^2}+\frac {(a+b x)^{5/2}}{b^2}\right ) \, dx,x,x^2\right )\\ &=\frac {a^2 \left (a+b x^2\right )^{3/2}}{3 b^3}-\frac {2 a \left (a+b x^2\right )^{5/2}}{5 b^3}+\frac {\left (a+b x^2\right )^{7/2}}{7 b^3}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.02, size = 50, normalized size = 0.85 \begin {gather*} \frac {\sqrt {a+b x^2} \left (8 a^3-4 a^2 b x^2+3 a b^2 x^4+15 b^3 x^6\right )}{105 b^3} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^5*Sqrt[a + b*x^2],x]

[Out]

(Sqrt[a + b*x^2]*(8*a^3 - 4*a^2*b*x^2 + 3*a*b^2*x^4 + 15*b^3*x^6))/(105*b^3)

________________________________________________________________________________________

Maple [A]
time = 0.05, size = 58, normalized size = 0.98

method result size
gosper \(\frac {\left (b \,x^{2}+a \right )^{\frac {3}{2}} \left (15 b^{2} x^{4}-12 a b \,x^{2}+8 a^{2}\right )}{105 b^{3}}\) \(36\)
trager \(\frac {\left (15 b^{3} x^{6}+3 a \,b^{2} x^{4}-4 a^{2} b \,x^{2}+8 a^{3}\right ) \sqrt {b \,x^{2}+a}}{105 b^{3}}\) \(47\)
risch \(\frac {\left (15 b^{3} x^{6}+3 a \,b^{2} x^{4}-4 a^{2} b \,x^{2}+8 a^{3}\right ) \sqrt {b \,x^{2}+a}}{105 b^{3}}\) \(47\)
default \(\frac {x^{4} \left (b \,x^{2}+a \right )^{\frac {3}{2}}}{7 b}-\frac {4 a \left (\frac {x^{2} \left (b \,x^{2}+a \right )^{\frac {3}{2}}}{5 b}-\frac {2 a \left (b \,x^{2}+a \right )^{\frac {3}{2}}}{15 b^{2}}\right )}{7 b}\) \(58\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^5*(b*x^2+a)^(1/2),x,method=_RETURNVERBOSE)

[Out]

1/7*x^4*(b*x^2+a)^(3/2)/b-4/7*a/b*(1/5*x^2*(b*x^2+a)^(3/2)/b-2/15*a*(b*x^2+a)^(3/2)/b^2)

________________________________________________________________________________________

Maxima [A]
time = 0.41, size = 53, normalized size = 0.90 \begin {gather*} \frac {{\left (b x^{2} + a\right )}^{\frac {3}{2}} x^{4}}{7 \, b} - \frac {4 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} a x^{2}}{35 \, b^{2}} + \frac {8 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} a^{2}}{105 \, b^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^5*(b*x^2+a)^(1/2),x, algorithm="maxima")

[Out]

1/7*(b*x^2 + a)^(3/2)*x^4/b - 4/35*(b*x^2 + a)^(3/2)*a*x^2/b^2 + 8/105*(b*x^2 + a)^(3/2)*a^2/b^3

________________________________________________________________________________________

Fricas [A]
time = 0.72, size = 46, normalized size = 0.78 \begin {gather*} \frac {{\left (15 \, b^{3} x^{6} + 3 \, a b^{2} x^{4} - 4 \, a^{2} b x^{2} + 8 \, a^{3}\right )} \sqrt {b x^{2} + a}}{105 \, b^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^5*(b*x^2+a)^(1/2),x, algorithm="fricas")

[Out]

1/105*(15*b^3*x^6 + 3*a*b^2*x^4 - 4*a^2*b*x^2 + 8*a^3)*sqrt(b*x^2 + a)/b^3

________________________________________________________________________________________

Sympy [A]
time = 0.15, size = 87, normalized size = 1.47 \begin {gather*} \begin {cases} \frac {8 a^{3} \sqrt {a + b x^{2}}}{105 b^{3}} - \frac {4 a^{2} x^{2} \sqrt {a + b x^{2}}}{105 b^{2}} + \frac {a x^{4} \sqrt {a + b x^{2}}}{35 b} + \frac {x^{6} \sqrt {a + b x^{2}}}{7} & \text {for}\: b \neq 0 \\\frac {\sqrt {a} x^{6}}{6} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**5*(b*x**2+a)**(1/2),x)

[Out]

Piecewise((8*a**3*sqrt(a + b*x**2)/(105*b**3) - 4*a**2*x**2*sqrt(a + b*x**2)/(105*b**2) + a*x**4*sqrt(a + b*x*
*2)/(35*b) + x**6*sqrt(a + b*x**2)/7, Ne(b, 0)), (sqrt(a)*x**6/6, True))

________________________________________________________________________________________

Giac [A]
time = 1.54, size = 43, normalized size = 0.73 \begin {gather*} \frac {15 \, {\left (b x^{2} + a\right )}^{\frac {7}{2}} - 42 \, {\left (b x^{2} + a\right )}^{\frac {5}{2}} a + 35 \, {\left (b x^{2} + a\right )}^{\frac {3}{2}} a^{2}}{105 \, b^{3}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^5*(b*x^2+a)^(1/2),x, algorithm="giac")

[Out]

1/105*(15*(b*x^2 + a)^(7/2) - 42*(b*x^2 + a)^(5/2)*a + 35*(b*x^2 + a)^(3/2)*a^2)/b^3

________________________________________________________________________________________

Mupad [B]
time = 4.66, size = 44, normalized size = 0.75 \begin {gather*} \sqrt {b\,x^2+a}\,\left (\frac {x^6}{7}+\frac {8\,a^3}{105\,b^3}+\frac {a\,x^4}{35\,b}-\frac {4\,a^2\,x^2}{105\,b^2}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^5*(a + b*x^2)^(1/2),x)

[Out]

(a + b*x^2)^(1/2)*(x^6/7 + (8*a^3)/(105*b^3) + (a*x^4)/(35*b) - (4*a^2*x^2)/(105*b^2))

________________________________________________________________________________________